﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mall.Infrastructure.Repository
{
    public interface IRepositoryContext : IDisposable
    {
        IRepository<TEntity> GetRepository<TEntity>() where TEntity:class;
        void BeginTransaction();
        void Commit();
        void Rollback();
    }
}

